package com.ruige.goreka.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@Component
@Configuration
@PropertySource(value = {"classpath:/application.yml"}, encoding = "utf-8")
@ConfigurationProperties(prefix = "goreka")
public class VersionConfig {

    public String author;
    public String version;
    public String model;
    public String publicationDate;
    public String company;
    public String telephone;

}
